package priv.lhy.config;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;

/**
 * @author: lihy
 * date: 2020/1/16 14:59
 * description: apollo.enabled=true是开启apollo
 */
@Configuration
@EnableApolloConfig
@ConditionalOnProperty(value = "apollo.enabled", havingValue = "true")
public class ApolloConfig {
}
